package top.sdaily.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.sdaily.core.mybatis.BaseMapper;
import top.sdaily.web.dto.DRoleMenuTreeNode;
import top.sdaily.web.model.RoleMenu;

import java.util.List;

/**
 * Created by TsujiShiki on 2017/1/24.
 */
@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    List<DRoleMenuTreeNode> findWithRight (@Param("roleId") String roleId, @Param("parentId") String parentId);
}
